package com.cg.exception;

import com.cg.entity.User;

//自定义业务异常类
public class UserException extends RuntimeException{
    public UserException(String message){
        //调用父类的构造方法，传入错误信息
        super(message);
    }
}